﻿@model List<ITXHWEB.Models.WBBSTModel>  
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <meta name="viewport" content="width=device-width" />
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        @Styles.Render("~/Content/mobileCss", "~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body> 
@using (Html.BeginForm("MTWB06", "WBBST"))
{  
    @Html.AntiForgeryToken()
    @Html.ValidationSummary() 
    <table>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model[0].WBBSTKNR)
            </th>
            <th>
                @Html.DisplayNameFor(model => model[0].LB)
            </th>
            <th>
                @Html.DisplayNameFor(model => model[0].QMTR)
            </th>
            <th>
                @Html.DisplayNameFor(model =>model[0].QYD)
            </th> 
            <th></th>
        </tr>
        @if (ViewBag.WBBS != null)
        {
            foreach (ITXHWEB.Models.WBBSTModel item in ViewBag.WBBS)
            {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.WBBSTKNR)
                </td>
                 <td>
                    @Html.DisplayFor(modelItem => item.LB)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.QMTR)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.QYD)
                </td>  
            </tr>
            }
        } 
    </table> 
}

        @Scripts.Render("~/bundles/jquery")
        <script>
            $(document).on("mobileinit", function () {
                $.mobile.ajaxEnabled = false;
            });
        </script>
        @Scripts.Render("~/bundles/jquerymobile") 
    </body>
</html>
